#include "ai/tests/ArrivingMouseTest.h"
#include "test/UnitTest.h"

#include "graphic/tests/AnimationTest.h"
#include <main/Globals.h>

#include "GameLoop.h"

#include <graphic\tests\DrawableTest.h>
#include <graphic\Drawable.h>
#include <collisions/Entity.h>
#include <graphic\DrawManager.h>

#include <utils/EnemyGenerator.h>

int main(int argv, char** argc) {
	Globals::init();
	/*Entity* entity = new Entity();
	entity->pisycs = true;
	entity->staticObject = false;

	Drawable* d = new Drawable("box", entity); 
	b2Vec2 vel(300,300);
	d->updatePosition(300, 300);
	d->setVelocity(vel);
	Globals::gDrawManager->addDrawable(d);

	Entity* entity2 = new Entity();
	entity2->pisycs = true;
	entity2->staticObject = false;
	Drawable* d2 = new Drawable("box", entity2); 
	d2->updatePosition(500, 500);
	Globals::gDrawManager->addDrawable(d2);*/

	//EnemyGenerator e(5);



	//reset(Globals::gTimer);

    //runAllTests();

    //arrivingMouseTest::run();
    //animationTest::run();

	//DrawableTest t;
    
	Globals::gGameLoop->loop();

	Globals::destroy();

    return 0;
}